package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Order;
import com.example.demo.web.AjaxResult;

public interface OrderService extends IService<Order> {

    public int tryOptimisticLocking();

    AjaxResult order(String userId, String commodityCode, int orderCount);
}
